package calcmaster.calculator.functions;

import calcmaster.calculator.domain.Function;
import calcmaster.calculator.util.Maths;

public class DivFunction extends Function {

	public DivFunction() {
		super(2);
	}
	
	@Override
	public double executeFunction(double[] arguments) {
		return Maths.div(arguments[1], arguments[0]);
	}

}
